ARM: tegra: fix variable naming in query_sdram_size()
authorStephen Warren <[email protected]>
Tue, 23 Dec 2014 17:34:50 +0000 (10:34 -0700)
committerTom Warren <[email protected]>
Wed, 4 Mar 2015 17:08:56 +0000 (10:08 -0700)
commit3a2cab512c0c4d96d8210e4f729dd080bbf8c90d
treefe47189df28d6359c6518b276fa2db3d4b307284
parent1e4d11a58c0d68443c7953fff6577fd6d339a34b
ARM: tegra: fix variable naming in query_sdram_size()

size_mb is used to hold a value that's sometimes KB, sometimes MB,
and sometimes bytes. Use separate correctly named variables to avoid
confusion here. Also fix indentation of a conditional statement.

Signed-off-by: Stephen Warren <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Tom Warren <[email protected]>
arch/arm/mach-tegra/board.c